from django.urls import path
from BloodSpiderAPI.apis.phone import request

urlpatterns = [
    # 手机号相关API
    path('create_phone_number/', request.create_phone_number, name='创建手机号'),
    path('get_phone_number_list/', request.get_phone_number_list, name='获取手机号列表'),
    path('get_phone_number/', request.get_phone_number, name='获取手机号详情'),
    path('update_phone_number/', request.update_phone_number, name='更新手机号'),
    path('delete_phone_number/', request.delete_phone_number, name='删除手机号'),
    
    # 手机号订单相关API
    path('create_phone_order/', request.create_phone_order, name='创建手机号订单'),
    path('get_phone_order_list/', request.get_phone_order_list, name='获取手机号订单列表'),
    path('get_phone_order/', request.get_phone_order, name='获取手机号订单详情'),
    path('update_phone_order/', request.update_phone_order, name='更新手机号订单'),
    path('delete_phone_order/', request.delete_phone_order, name='删除手机号订单'),
]